import json     # json处理库
from datetime import datetime
import backtrader as bt
import akshare as ak
import pandas as pd

stock_hfq_df = ak.stock_zh_a_hist(symbol='600000', adjust="hfq").iloc[:, :7]
print(stock_hfq_df)

# 打印数据以验证格式
print(stock_hfq_df.head())
